package o;

import android.content.Intent;
import com.huawei.gamebox.plugin.gameservice.bean.GameInfo;
import com.huawei.gamebox.plugin.gameservice.view.GameServiceShowDialogActivity;
import com.tencent.mm.opensdk.modelmsg.WXMediaMessage;

public class fab {
    private static fab ˎ;

    public static synchronized fab ˎ() {
        fab o_fab;
        synchronized (fab.class) {
            if (ˎ == null) {
                ˎ = new fab();
            }
            o_fab = ˎ;
        }
        return o_fab;
    }

    public void ˊ(GameInfo gameInfo, fad o_fad) {
        bga.ॱ().ˋ(gameInfo, o_fad);
    }

    void ˊ(GameInfo gameInfo, String str, fad o_fad, boolean z) {
        bga.ॱ().ˊ(gameInfo, str, o_fad, z);
    }

    public void ˏ(GameInfo gameInfo, String str, fad o_fad) {
        ˊ(gameInfo, str, o_fad, true);
    }

    public void ˋ(GameInfo gameInfo, Class<?> cls, Intent intent, fad o_fad) {
        bga.ॱ().ˎ(gameInfo, cls, intent, o_fad);
    }

    public void ˊ(GameInfo gameInfo, Class<?> cls, Object obj, fad o_fad, boolean z) {
        bga.ॱ().ॱ(gameInfo, cls, obj, o_fad, z);
    }

    void ˏ(GameInfo gameInfo, Intent intent, fad o_fad) {
        if (intent != null) {
            intent.addFlags(WXMediaMessage.MINI_PROGRAM__THUMB_LENGHT);
            bga.ॱ().ˎ(gameInfo, GameServiceShowDialogActivity.class, intent, o_fad);
        }
    }
}
